package com.lzq.mybatisplusdemo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.lang.model.element.Name;

@Component
@Data
@TableName("user")
public class User {
    @TableField("userId")
    private Integer userId;
    private String username;
    private String nickname;
    private String password;
}
